$def with (privData)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
$:privData['render'].header(privData)
<body>
$:privData['render'].pageheader(privData)

<h2>编辑企业信息 </h2>
<form action="$makeUrl('/admin/company/update')" method="post">
    <table width="750" border="0" cellspacing="0" cellpadding="1" class="addtable">
        <tr>
            <td width="100" scope="col">公司类别:</td>
            <td width="608" scope="col">
                <SELECT  name="category" id="category">
                    $for k,v in privData['CATEGORY_LIST'].items():
                    <option value="$:k"
                    $if k == privData['COMPANY']['category']:
                        selected="selected"
                    >$:v</option>
                </SELECT>
            </td>
        </tr>
        <tr>
            <td width="100" scope="col">公司Logo:</td>
            <td width="608" scope="col">
                $:privData['render'].thumbnail_select_widget(privData)
            </td>
        </tr>
        <tr>
            <td width="100" scope="col">公司名称:</td>
            <td width="608" scope="col"><input name="name" type="text" value="$:privData['COMPANY']['name']"/></td>
        </tr>

        <tr>
            <td width="100" scope="col">公司地址:</td>
            <td width="608" scope="col"><input name="address" type="text"  value="$:privData['COMPANY']['address']" /></td>
        </tr> 

        <tr>
            <td width="100" scope="col">会员ID:</td>
            <td width="608" scope="col"><input name="owner" type="text"  value="$:privData['OWNER']" disabled="true" /></td>
        </tr> 
        <tr>
            <td width="100" scope="col">联系人:</td>
            <td width="608" scope="col"><input name="contact" type="text"  value="$:privData['COMPANY']['contact']" /></td>
        </tr>
        <tr>
            <td width="100" scope="col">邮箱地址:</td>
            <td width="608" scope="col"><input name="email" type="email" value="$:privData['COMPANY']['email']"/></td>
        </tr>
        <tr>
            <td width="100" scope="col">固定电话:</td>
            <td width="608" scope="col"><input name="fixedphone" type="text"  value="$:privData['COMPANY']['fixedphone']"/></td>
        </tr>
        <tr>
            <td width="100" scope="col">移动电话:</td>
            <td width="608" scope="col"><input name="cellphone" type="text" value="$:privData['COMPANY']['cellphone']"/></td>
        </tr>
        <tr>
            <td width="100" scope="col">传真:</td>
            <td width="608" scope="col"><input name="faxno" type="text"  value="$:privData['COMPANY']['faxno']"/></td>
        </tr>                         
        <tr>
            <td width="100" scope="col">邮政编码:</td>
            <td width="608" scope="col"><input name="postcode" type="text"  value="$:privData['COMPANY']['postcode']"/></td>
        </tr>                         

        <tr>
            <td width="100" scope="col">公司简介:</td>
            <td width="608" scope="col">
                <textarea name="desc" id="desc">$:privData['COMPANY']['desc']</textarea>
            </td>
        </tr>
        <tr><td colspan="2" scope="col">
            <input name="owner" type="hidden" value="$:privData['COMPANY']['owner']"/>
            <input name="id" type="hidden" value="$:privData['COMPANY']['id']"/>
            <input type="submit" name="submit" value="保存" id="submits"/>
        </td></tr>
    </table>     
</form>
</body></html>

